home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
ov_all.zip
/
TI792.ASC
< prev
next >
Wrap
Text File
|
1991-09-11
|
5KB
|
199 lines
PRODUCT : ObjectVision NUMBER : 792
VERSION : 1.0
OS : WIN
DATE : September 11, 1991 PAGE : 1/3
TITLE : Selection Lists calling other Selection Lists
1. Create the Form. Tools|Form. Enter Main as the Title of the
form.
2. Choose Objects|Field <Add New Field>. Enter CATEGORY as the
field Name. Place this field on your form.
3. Create the following additional fields on your Main Form:
Hardware
Business Applications
Languages
Operating Systems
4. Make the above fields check box fields using Property|Field
Type|Check box's:
Enter the following values for Hardware:
CPU
Floppy Drive
Hard Disk
Monitor
For Operating Systems enter:
CPM
Dos
OS/2
Unix
VMS
For Business Applications:
ObjectVision
Paradox
Quattro Pro
SideKick
Sprint
For Languages:
C++
C++ for Windows
Paradox Engine
Turbo Pascal
Turbo Pascal for Windows
PRODUCT : ObjectVision NUMBER : 792
VERSION : 1.0
OS : WIN
DATE : September 11, 1991 PAGE : 2/3
TITLE : Selection Lists calling other Selection Lists
5. Create a final field called Product. Product invokes the
decision tree that calls the appropriate checkbox list.
Highlight the Product field. Select Tools|Tree and then
Objects|Branch. Select CATEGORY from the field list. Choose
Objects|Conclusion. For the first condition enter Hardware.
For the conclusion enter the following formula:
+ Hardware
The conclusion + Hardware is simply saying goto Hardware and get
a value from this field.
Important Note: it is strongly suggested you select Hardware from
the field selection list supplied to you when the
field button is pressed in the Conclusion dialog
box. If you type a field name in an expression
and the name contains characters that
ObjectVision may interpret as part of the
expression syntax, you must enclose the name
within single-quotation marks. If you select the
field name from the selection list provided when
the field button is pressed, ObjectVision will
automatically take care of the necessary syntax
for the expression and prevent a mistyped
entry from becoming a new field in the
application.
Choose Objects|Conclusion again, however, this time substituting
the next selection from the Category selection list, ie.,
Operating Systems for the Condition and + Operating Systems as
the conclusion. Repeat this step for the Business Applications
and Languages substituting the appropriate conclusion for each
choice.
6. Cut the following fields from the form using Edit|Cut:
Hardware, Operating Systems, Business Applications, and
Languages.
7. Define CATAGORY as a Selection List field. Choose
Properties|Field Type|Selection List. Make sure an X appears
in the Automatic checkbox field. ObjectVision will
automatically generate the selection list for Category based
on the decision tree on Product.
PRODUCT : ObjectVision NUMBER : 792
VERSION : 1.0
OS : WIN
DATE : September 11, 1991 PAGE : 3/3
TITLE : Selection Lists calling other Selection Lists
Based on the value selected in Category the appropriate secondary
selection list will appear as a check box list in a scratch pad
field. The value you select will appear in Product.
If you do not wish to have the Secondary selection lists to
appear as a scratch pad field you may want to create a second
form using Form|New (call this form Form Two) and place the
following fields on it:
Hardware, Operating Systems, Business Applications, and
Languages
Since these fields exist in ObjectVision's field list, Choose
Objects|Field and highlight the field name. Locate the field on
the form. Repeat this step for the remaining fields. You will
need to specify the field types for all of these fields, ie.,
Selection Lists or as checkbox lists using Properties|Field Type
then select either selection list or check box.
Based on the option selected in Category the appropriate
selection/checkbox field will be pulled up. The value entered in
the secondary field will appear in the product field.
Note:
ObjectVision's goal is to obtain information, once it has this
information it's job is complete. Once a value has been entered
into a secondary checkbox list or selection list, ObjectVision
will not pull up that list again. You will need to clear the
list using Edit|Clear All so all forms are cleared.